package com.esteel.settlement.pa.packet;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 应答包：监管系统－>交易网 银行端发起 查时间段会员开销户信息 查询某个时间段会员签解约的信息。 zhouwentong
 */
@XmlRootElement(name = "Result")
@XmlAccessorType(XmlAccessType.FIELD)
public class RspBP1016 extends Answer {

	private static final long serialVersionUID = -6718799969976327098L;
	// 总记录数
	@XmlElement(name = "TotalCount")
	private int totalCount;
	// 起始记录号
	@XmlElement(name = "BeginNum")
	private int beginNum;
	// 是否结束包 0：否 1：是
	@XmlElement(name = "LastPage")
	private int lastPage;
	// 本次返回流水笔数
	// 重复次数（一次最多返回20条记录）
	@XmlElement(name = "RecordNum")
	private int recordNum;

	@ArraySizeMethod("getRecordNum")
	@XmlElement(name = "Array")
	private List<Query1016Array> query1016Array = new ArrayList<Query1016Array>();

	public int getTotalCount() {
		return totalCount;
	}

	public int getBeginNum() {
		return beginNum;
	}

	public int getLastPage() {
		return lastPage;
	}

	public int getRecordNum() {
		return recordNum;
	}

	public List<Query1016Array> getQuery1016Array() {
		return query1016Array;
	}

	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}

	public void setBeginNum(int beginNum) {
		this.beginNum = beginNum;
	}

	public void setLastPage(int lastPage) {
		this.lastPage = lastPage;
	}

	public void setRecordNum(int recordNum) {
		this.recordNum = recordNum;
	}

	public void setQuery1016Array(List<Query1016Array> query1016Array) {
		this.query1016Array = query1016Array;
	}

	@Override
	protected String[] order() {
		String[] objs = { "totalCount", "beginNum", "lastPage", "recordNum", "query1016Array", "reserve" };
		return objs;
	}

}
